<?php
/* @var $this SiteController */
/* @var $model ContactForm */
/* @var $form CActiveForm */

$this->pageTitle='İletişim';
$this->breadcrumbs=array(
	'İletişim',
);
?>
    <script>
        $(document).ready(function() {
            $("img").css("max-width", $(window).width() - 50);
            $("img").css("height", "auto");
            $("#map-canvas").css("width", $(window).width() - 50);
        });
    </script>
<style>
      #map-canvas {
        height: 400px;
        width: 600px;
        margin: 0px;
        padding: 0px
      }
</style>
<h1>İletişim</h1>

<br/><br/>
<p>
    <b>Adres   :</b>Alınteri Bulvarı 1262. Sk No.: 4<br/>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Örnek Sanayi Sitesi) 06370 Ostim/ANKARA<br/>
    <b>Telefon :</b>0312 354 46 27 - 28<br/>
    <b>Faks    :</b>0312 385 39 23 - 25<br/>
    <b>Email   :</b><a href="mailto:info@aydan-ltd.com.tr">info@aydan-ltd.com.tr</a><br/>
    <b>Web     :</b> <a href="http://www.aydanyayincilik.com.tr" target="new">http://www.aydanyayincilik.com.tr</a><br/><br/>
</p>

<script type="text/javascript"
      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyALJhCGurReuWBjnyQYoW5GgIn-z5uuers&sensor=true">
</script>
<script>
var map;
var myLatlng = new google.maps.LatLng(39.974935,32.758377);
function initialize() {
  var mapOptions = {
    zoom: 15,
    center: myLatlng,
    mapTypeId: google.maps.MapTypeId.ROADMAP
  };
  map = new google.maps.Map(document.getElementById('map-canvas'),mapOptions);
  
  var contentString = '<div id="content">'+
      '<h3 id="firstHeading" class="firstHeading">Aydan Yayıncılık Web Tesisleri</h3>'+
      '<div id="bodyContent">'+
      '<p>Adres:</b> Alınteri Bulvarı 1262. Sk No.: 4<br/>' +
                      '(Örnek Sanayi Sitesi) 06370 Ostim/ANKARA<br/>' +
                      '<b>Telefon:</b> 0312 354 46 27 - 28<br/>' +
                      '<b>Belgeç(faks):</b> 0312 385 39 23 - 25<br/>' +
                      '<b>E-mail:</b> info@aydan-ltd.com.tr<br/>' +
                      '<b>web:</b> <a href="http://www.aydanyayincilik.com">www.aydanyayincilik.com</a></p>' +
                      '</div>' +
                      '</div>';

              var infowindow = new google.maps.InfoWindow({
                  content: contentString
              });


              var marker = new google.maps.Marker({
                  position: myLatlng,
                  map: map,
                  title: "Aydan Yayıncılık Web Tesisleri!"
              });
              google.maps.event.addListener(marker, 'click', function() {
                  infowindow.open(map, marker);
              });

          }

          google.maps.event.addDomListener(window, 'load', initialize);

</script>
<div id="map-canvas" style="border:1px solid black"></div>

<br/>